#include "UpRightSecondTooth.h"

USING_NS_CC;

UpRightSecondTooth::UpRightSecondTooth(CCLayer* helloWorld){
	position = UP_LEFT_FIVE;
	toothSprite = CCSprite::create("yy_474_627.png");
	toothSprite->setPosition(ccp(474,627));
	toothSprite->setZOrder(4);
	helloWorld->addChild(toothSprite);
}

UpRightSecondTooth::~UpRightSecondTooth(void){
	toothSprite->autorelease();
}

bool UpRightSecondTooth::checkToolInWhichTooth(float x, float y){	
	if(x>200 && x<214 && y > 150 && y<170){
		return true;
	}else{
		return false;
	}
}
